package com.example.wuren;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

public class WorkListActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.work_list);
    }

    public void goToMyPage(View view) {
        // 创建一个 Intent 对象，用于启动 WorkMineActivity
        Intent intent = new Intent(WorkListActivity.this, WorkMineActivity.class);
        // 启动 WorkMineActivity
        startActivity(intent);
    }
    public void goToChatPage(View view) {
      Intent intent = new Intent(WorkListActivity.this, WorkChatActivity.class);
      startActivity(intent);

    }
}